#pragma once
#include "../bytearray.h"
#include "../gus2_config.h"
#if GUS2_ENABLE_ATTRI
#define CTRL_TYPE_CHECKBOX checkbox

typedef struct {
	unsigned char IsCheck;
	unsigned char GState;
	unsigned char GUncheck;
	unsigned char GCheck;
}__gui_attr_checkbox;

extern const __gui_attr_checkbox CTRL_CHECKBOX_ATTR;
#endif 
typedef enum {
	ECheckboxUncheck = 0,
	ECheckboxCheck = 1,
	ECheckboxToggle = 2,
}echeckbox_op_t;
void gui_checkbox_set_is_check(bytearray_t* ba, echeckbox_op_t op);
void gui_checkbox_set_g_uncheck(bytearray_t* ba, unsigned int states);
void gui_checkbox_set_g_check(bytearray_t* ba, unsigned int states);

